import Mock from 'mockjs';

import user from './api/user';
import foods from './api/foods';
import share from './api/share';

const MockList = [...user, ...foods, ...share];

// 统一注册接口数据
for (const item of MockList) {
	Mock.mock(item.url, item.type, item.response);
}
